export const LOGIN_TYPE = 'login'
export const LOGOUT_TYPE = 'logout'

export const login = (payload) => {
    return { type: LOGIN_TYPE, payload }
}
export const logout = () => {
    return { type: LOGOUT_TYPE }
}

export default { login, logout }